#ifndef __Q_BASIC_COMPILER_LLVM_WRAPPER_H__
#define __Q_BASIC_COMPILER_LLVM_WRAPPER_H__

namespace qbc
{

llvm::Value *getnull();

llvm::Value *getconstint(int v);

llvm::Value *getconstfalse();
llvm::Value *getconsttrue();

llvm::Value *getconstlong(long v);

llvm::Constant *getbuiltinprotype(ASTContext ctx, const std::string name);

llvm::Type *getbooltype();
llvm::Type *getplatformlongtype();

llvm::LLVMContext &getGlobalContext();

} // namespace qbc

#endif